The MARCviz package contains the function
viz_MARC for creating the Meta-Analytic Rain Cloud (MARC)
Plot, from Fitzgerald
& Tipton (2022).
Note, this package is still under construction!
To install the package, run the following code:
devtools::install_github("kgfitzgerald/MARCviz")
Once installed, you can load the package and pull up the help
documentation for the viz_MARC function.
library(MARCviz)
?viz_MARC
Produce an interactive MARC plot:
library(tidyverse)
#read in meta-analytic dataset
data(viz_MA_data)
#specify vector of effect sizes
d_j <- viz_MA_data %>% filter(k == 100) %>% pull(d_j)
#specify vector of standard errors
se_j <- viz_MA_data %>% filter(k == 100) %>% pull(se_j)
viz_MARC(d_j, se_j)